package com.xique.park.controller.client.web.enums;

import com.xique.common.core.enums.ResultEnums;

/**
 * @author shd
 * @create 2021/7/23 15:06
 */
public enum ClientErrorEnums implements ResultEnums {

    // SUCCESS
    SELECT_CLIENT_SUCCESS(200, "选择岗亭成功"),


    // FAIL
    SELECT_CLIENT_FAIL(601 , "选择岗亭失败"),


    ;

    private int code;

    private String msg;

    ClientErrorEnums(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
